//
//  NSDate+Extension.m
//  FLSTool
//
//  Created by fls on 2022/4/28.
//

#import "NSDate+Extension.h"

@implementation NSDate (Extension)
#pragma mark - String Properties
- (NSString *) stringWithFormat: (NSString *) format
{
    NSDateFormatter *formatter = [NSDateFormatter new];
    //    formatter.locale = [NSLocale currentLocale]; // Necessary?
    formatter.dateFormat = format;
    return [formatter stringFromDate:self];
}
@end
